Skip to content

Conversation

@KEEKE132
Copy link
Contributor

@KEEKE132 KEEKE132 commented Jan 1, 2026

🚩 관련사항

Close: #1030

📢 전달사항

다른 Pr을 적용하기 전 코드 전체에 포매팅을 적용했습니다.

또한 Eclipse Formatter 사용시 포매팅 일치를 위해 설정을 조금 수정하였습니다.

📸 스크린샷

spotlessCheck 성공 화면
image

📃 진행사항

  • 코드 전체 포매팅 적용
  • spotless 설정 수정
  • ide 포매팅 환경설정 가이드 작성

⚙️ 기타사항

IDE 설정 가이드입니다.
(https://www.notion.so/Spotless-IDE-2db3d138d33c80bfab99e6abba8252a5?source=copy_link)

개발기간:

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

Test Results Summary

 54 files   54 suites   15s ⏱️
250 tests 250 ✅ 0 💤 0 ❌
288 runs  288 ✅ 0 💤 0 ❌

Results for commit 2bc7dae.

@github-actions
Copy link

github-actions bot commented Jan 1, 2026

Migration Result 📦

Status Count
✅ Success 27
❌ Failed 0
⏳ Pending 0

Schema Validation Result 🔍

✅ No schema mismatches detected.

Results for commit 2bc7dae

♻️ This comment has been updated with latest results.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @KEEKE132, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 코드베이스 전체에 걸쳐 포매팅을 적용하고, 코드 가독성을 향상시키기 위한 리팩토링을 수행합니다. 주요 변경 사항으로는 Spotless 설정 업데이트, 메서드 시그니처 정렬, @Operation 어노테이션 간소화, 그리고 다양한 파일에서 import 문 재정렬 및 코드 스타일 일관성 확보가 포함됩니다.

Highlights

  • 코드 포매팅 규칙 업데이트: Java 코드에 대한 Spotless 설정이 업데이트되었습니다. importOrder는 이제 고정된 순서를 따르며, trimTrailingWhitespace()endWithNewline() 규칙은 제거되었습니다.
  • 메서드 시그니처 및 어노테이션 정렬: 다수의 Controller.java 파일에서 @AuthenticationPrincipal, @RequestBody, @RequestPart, @PathVariable, @RequestParam 어노테이션을 사용하는 메서드 시그니처가 가독성을 높이기 위해 여러 줄로 정렬되었습니다.
  • @Operation 어노테이션 간소화: Swagger @Operation 어노테이션의 summarydescription 속성에서 불필요한 줄 바꿈이 제거되어 더 간결해졌습니다.
  • Import 문 및 코드 스타일 일관성: 여러 파일에서 import 문이 재정렬되었고, 코드 스타일 일관성을 위해 static import 문이 특정 값으로 변경되거나 불필요한 줄 바꿈이 제거되었습니다.
  • 엔티티 및 유틸리티 클래스 리팩토링: 엔티티 클래스의 @Table 어노테이션 정렬, 리포지토리 메서드 시그니처 정렬, 유틸리티 클래스의 메서드 시그니처 및 조건부 표현식 간소화 등 전반적인 코드 리팩토링이 이루어졌습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@bingle625 bingle625 merged commit 75ff2b2 into dev Jan 1, 2026
5 of 6 checks passed
@bingle625 bingle625 deleted the infra/#1030/formatting-apply branch January 1, 2026 08:11
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

전체 코드에 포매팅을 적용하는 PR이네요. spotless와 Eclipse Formatter 설정을 통해 일관된 코드 스타일을 유지하려는 노력이 좋습니다. 변경 사항 대부분이 포매팅과 관련된 것으로 보이며, 전체적으로 잘 적용된 것 같습니다. 다만, CouncilFeeExcelService.java 파일에서 포매터가 List.of를 두 줄로 나누면서 가독성이 다소 저하된 부분이 있어 리뷰 코멘트를 남겼습니다. 해당 부분에 대한 포매터 설정을 확인해보시면 좋을 것 같습니다.

Comment on lines +21 to +22
private static final Function<UserCouncilFeeResponseDto, List<String>> cellMappingFunction = userCouncilFee -> List
.of(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

포매터가 List.of(...)를 두 줄로 나누면서 가독성이 다소 저하된 것 같습니다. 람다 표현식과 함께 한 줄로 작성하거나, 이전처럼 userCouncilFee -> 부분을 다음 줄로 내리는 것이 더 자연스러워 보입니다. 포매터 설정을 확인하여 이 부분을 조정할 수 있는지 검토해 보시는 것을 추천합니다.

Suggested change
private static final Function<UserCouncilFeeResponseDto, List<String>> cellMappingFunction = userCouncilFee -> List
.of(
private static final Function<UserCouncilFeeResponseDto, List<String>> cellMappingFunction =
userCouncilFee -> List.of(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Infra] 코드 포매팅 전체 적용 및 IDE 포매터 양식 일치

3 participants